Pause(2) Oct. 1, 1991 Pause(2) NAME Pause - suspend process until a signal is received SYNOPSIS void Pause(); DESCRIPTION Pause causes the calling process to go to sleep until a sig- nal that is not being ignored or masked is received. If a signal handler has been established for that signal with the Psignal system call, then the handler is invoked before Pause returns; if the handler does a longjmp to a different point in the program, if it exits the program, or if the signal handler was set to SIG_DFL and the default action for the signal is to terminate the process, then Pause will never return. SEE ALSO Psigblock(2), Psignal(2), Psigsetmask(2) BUGS There really should be a Psigpause system call that sets the signal mask and pauses atomically; as it stands now, many programs may face a race condition whereby a signal could arrive between the time it's unmasked and the time Pause is called. Version 0.9 Last change: MiNT Programmer's Manual 1